package org.budo.activiti.behavior;

import java.util.List;

import org.activiti.bpmn.model.UserTask;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior;
import org.activiti.engine.impl.el.ExpressionManager;
import org.activiti.engine.impl.persistence.entity.TaskEntity;
import org.activiti.engine.impl.persistence.entity.TaskEntityManager;

/**
 * @author lmw
 */
public class BudoUserTaskActivityBehavior extends UserTaskActivityBehavior {
    private static final long serialVersionUID = 6241927230466914522L;

    public BudoUserTaskActivityBehavior(UserTask userTask) {
        super(userTask);
    }

    @Override
    public void leave(DelegateExecution execution) {
        super.leave(execution);
    }

    @Override
    public void execute(DelegateExecution execution) {
        super.execute(execution);
    }

    @Override
    protected void handleAssignments(TaskEntityManager taskEntityManager, String assignee, String owner, List<String> candidateUsers, List<String> candidateGroups, TaskEntity task, ExpressionManager expressionManager, DelegateExecution execution) {
        super.handleAssignments(taskEntityManager, assignee, owner, candidateUsers, candidateGroups, task, expressionManager, execution);
    }
}